#This file is part of Nereid.  The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
from werkzeug.exceptions import NotFound as NotFound

class NereidException(Exception):
    """
    TODO: Silent Killing of Exceptions in Production
    TODO: Email/Request of crash reports to server admin
    """
    pass


class ConnectionError(NereidException):
    """
    Exception raised when issues occurs at proteus
    trying to access Tryton
    """
    pass


class ModelNotFound(NereidException):
    """
    If the given model for URL does not exist in Tryton
    Chances less of done through the clients
    """
    pass